﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BCTMSRESTful.Configs
{
    public class MongoDBOptions
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        public string Database { set; get; }
        /// <summary>
        /// 链接字符串
        /// </summary>
        public string ConnectionString { set; get; }
        /// <summary>
        /// 服务器地址
        /// </summary>
        public string ServerAddress { set; get; }
        /// <summary>
        /// 启用集群
        /// </summary>
        public string MongodbClusterEnabled { set; get; }
        /// <summary>
        /// 副本集名称
        /// </summary>
        public string ReplicaSetName { set; get; }
        /// <summary>
        /// 超时时间
        /// </summary>
        public string TimeOut { set; get; }
    }
}
